package com.weixstudio.model.exportModel;

import com.weixstudio.annotation.EnableExport;
import com.weixstudio.annotation.EnableExportField;
import com.weixstudio.annotation.ImportIndex;
import lombok.Data;

/**
 * @ClassName UserInfo
 * @Description TODO
 * @Author liangw
 * @Date 2021/8/7 10:51
 * @Version 1.0
 **/
@Data
@EnableExport(fileName = "用户数据表")
public class UserInfo {

    @EnableExportField(colName = "序号",colWidth = 90)
    @ImportIndex(index = 1)
    private Long id;

    @EnableExportField(colName = "姓名",colWidth = 90)
    @ImportIndex(index = 0)
    private String name;

    @EnableExportField(colName = "年龄",colWidth = 90)
    @ImportIndex(index = 2)
    private Integer age;

    @EnableExportField(colName = "手机号码",colWidth = 200)
    @ImportIndex(index = 3)
    private String phone;

    @EnableExportField(colName = "身份证号",colWidth = 700)
    @ImportIndex(index = 4)
    private String idCard;
}
